package com.shijimo.server.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author Dream_飞翔
 * @date 2021/11/4
 * @time 19:22
 * @email 1072876976@qq.com
 */
// 开启事务注解
@EnableTransactionManagement
// 标识该类是一个配置类
@Configuration
// 事务处理配置类，自定义异常一般选择继承RuntimeException
public class TransactionManagementConfig {

}
